package com.session01;

public class InventoryItem {
    private long partNumber; // 编号
    public String description; // 描述

    public InventoryItem(long n, String d) {
        //构造器
        this.partNumber = n;
        this.description = d;
    }

    protected InventoryItem() {
        partNumber = 0;
        description = "N/A";
    }

    long getPartNumber() {
        return partNumber;
    }

}
